<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>  
<html>  
<head>  
<meta charset="utf-8">  
<title>上传excel</title>  
</head>  
<body>
<c:if test="${not empty errmsg}">
<h1>${errmsg}</h1>
</c:if>
<form action="fileUpload" method="post" enctype="multipart/form-data">  
<input type="file" name="upfile" /> <input type="submit" value="Submit" /></form>  
</body>  
</html>  